package org.springsource.examples.crm.model;

import java.util.HashSet;
import java.util.Set;

public class Purchase implements java.io.Serializable {
	private Long id;
	private Customer customer;
	private double total;
	private Set lineItems = new HashSet();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public Set getLineItems() {
		return lineItems;
	}

	public void setLineItems(Set lineItems) {
		this.lineItems = lineItems;
	}

}
